package com.huike.pmps.model.entity;

/**
 * 作者：谌贵斌(黑桃K)
 * 日期: 2888-08-08
 * 老师QQ: 272488352
 * 官方QQ交流群: 377748272
 * 刀客程序员官网：http://www.daoke360.com
 * 刀客程序员淘宝旗舰店：https://daoke360.taobao.com/
 */

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 新商机
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("p_business_opportunity")
public class BusinessOpportunity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("商机编号")
    private String boNo;
    @ApiModelProperty("商机标题")
    private String boTitle;
    @ApiModelProperty("战区ID")
    private Integer regionId;
    @ApiModelProperty("战区名字")
    private String regionName;
    @ApiModelProperty("省份ID")
    private Integer provinceId;
    @ApiModelProperty("省份名字")
    private String provinceName;
    @ApiModelProperty("负责人")
    private String chargeName;
    @ApiModelProperty("客户名称")
    private String customerName;
    @ApiModelProperty(value = "产品类型/品类名称ID", hidden = true)
    private Integer productTypeId;
    @ApiModelProperty(value = "产品类型/品类名称", hidden = true)
    private String productTypeName;
    @ApiModelProperty("产品品类")
    private String productCategory;
    @ApiModelProperty("产品名称")
    private String productName;
    @ApiModelProperty("产品编号")
    private String productNo;
    @ApiModelProperty("产品数量")
    private Integer productNumber;
    @ApiModelProperty("销售阶段")
    private Double stage;
    @ApiModelProperty("预计合同金额")
    private BigDecimal contractAmount;
    @ApiModelProperty("预计签约日期")
    private Date signDate;
    @ApiModelProperty("年")
    private Integer year;
    @ApiModelProperty("一年中的第几周")
    private Integer weekOfYear;
    @ApiModelProperty("一年中的第几周")
    private Integer weekOfMonth;
    @ApiModelProperty("一年中的第几季度")
    private Integer seasonOfYear;
    @ApiModelProperty("一年中的第几月")
    private Integer monthOfYear;
    @ApiModelProperty(value = "创建日期", hidden = true)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
